body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* 隐藏滚动条 */
}

.container {
    height: 100vh; /* 设置容器高度为视口高度 */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* 隐藏容器内的滚动条 */
}

.row {
    flex: 1; /* 使行占满容器的高度 */
    display: flex;
    overflow: hidden; /* 隐藏行内的滚动条 */
}

.col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* 隐藏列内的滚动条 */
}

.img-preview {
    max-width: 100%;
    max-height: 100%; /* 限制图片的最大高度 */
    object-fit: contain; /* 保持图片比例 */
}

.uploadCss {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%; /* 使上传组件占满列的高度 */
    padding: 0 3%;
}